<div class="articles form">
<?php echo $this->Form->create('Article');?>
	<fieldset>
 		<legend><?php __('Admin Add Article'); ?></legend>
	<?php
		echo $this->Form->input('title');
		echo $this->Form->input('user_id');
		echo $this->Form->input('category_id');
		echo $this->Form->input('tags');
		echo $this->Form->input('url');
		echo $this->Form->label('Ads');
		echo $cksource->ckeditor('ads', array('value'=>'在此输入内容...'));
		echo $this->Form->input('status');
		echo $this->Form->label('Contents');
		echo $cksource->ckeditor('contents', array('value'=>'在此输入内容...'));
		echo $this->Form->input('expired', array('type' => 'datetime', 'dateFormat' => 'YMD', 'timeFormat' => 24));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Articles', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Categories', true), array('controller' => 'categories', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Category', true), array('controller' => 'categories', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Comments', true), array('controller' => 'comments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Comment', true), array('controller' => 'comments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Hits', true), array('controller' => 'hits', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Hit', true), array('controller' => 'hits', 'action' => 'add')); ?> </li>
	</ul>
</div>